/*
 * Project Name spring-boot-tools
 * File Name Action101
 * Package Name com.huxiaosu.tools.mina.action
 * Create Time 2024/5/25
 * Create by name：liujie
 */
package com.huxiaosu.tools.mina.action;

import com.huxiaosu.tools.mina.utils.Constants;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * Description
 *
 * @author liujie
 * @date 2024/5/25 14:45
 */
@Slf4j
@Component
public class Action101 extends AbstractMessageAction {
    @Override
    public byte getMessageCommandId() {
        return Constants.T101;
    }

    @Override
    public String getMessageCommandName() {
        return "keepLive";
    }

    @Override
    public void execute() {
        log.info("<此请求为心跳=====>");
    }
}
